#ifndef FLIGHTINFO_H
#define FLIGHTINFO_H
#include <string>
using namespace std;

class Flightinfo
{
private:
	string No; //航班号
	string StartCity;//起飞地点
	string EndCity; //降落地点
	string StartDate;//日期
	string StartTime;//起飞时间
	string EndTime; //降落时间
	int FirstTicket; //头等舱剩余票数
	int FirstPrice;//头等舱价格
	int SecondTicket;//经济舱剩余票数
	int SecondPrice;//经济价格
public:
	Flightinfo(string num, string day)
	{
		string number, date;
		number = num;
		date = day;
	}
	
	setFlightDetails(string start, string end, string startT, string endT, int fTicket, int fPrice, int sTicket, int sPrice)
    {
        StartCity = start;
        EndCity = end;
        StartTime = startT;
        EndTime = endT;
        FirstTicket = fTicket;
        FirstPrice = fPrice;
        SecondTicket = sTicket;
        SecondPrice = sPrice;
    }
};
#endif